<%-- 
    Document   : B3
    Created on : 2014/8/12, 上午 10:38:21
    Author     : gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String user = request.getParameter("user");
    if( user !=null)
        session.setAttribute("user", user);
    String pname = request.getParameter("pname");
    if( pname !=null)
        session.setAttribute("pname", pname);
    
    %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <%= user %>, <%= pname %>
        <a href="B4.jsp">B4</a> , <a href="B5.jsp">登出</a>
    </body>
</html>
